package com.shicijiaoliu.pojo;


import lombok.Data;

@Data
public class Author {

  private long id;
  private String name;
  private String bi;
  private String dynasty;


  public Author(String name, String bi, String dynasty) {
    this.name = name;
    this.bi = bi;
    this.dynasty = dynasty;
  }

  public Author() {

  }

  public Author(String name, String bi, String dynasty, long id) {
    this.name = name;
    this.bi = bi;
    this.dynasty = dynasty;
    this.id = id;
  }
}
